{%extends "base.html" %}

{% block mainbody %}

                {% block subject %}
 
   <div class="col-md-4 column">
                    <a href="#" class="list-group-item active">
	python
</a>
            {% for s in subject_list %}

                    <a href="#" class="list-group-item">								{{ s.title }}</a>
                 
            {% endfor %}

                </div>
<ul class="pagination">
      {% if subject_list.has_previous %}
                <li class="enabled">
                    <a href="?page={{ subject_list.previous_page_number }}" aria-label="Previous">
                        <span aria-hidden="true">&laquo;</span>
                    </a>
                </li>
            {% endif %}
        {% for page_num in subject_list.paginator.page_range %}
                {% if page_num == subject_list.number %}
                    <li class="active">
                        <a href="#">
                            {{ page_num }}
                            <span class="sr-only">(current)</span>
                        </a>
                    </li>
                {% else %}
                    <li>
                        <a href="?page={{ page_num }}">{{ page_num }}
                            <span class="sr-only">(current)</span>
                        </a>
                    </li>
                {% endif %}
            {% endfor %}
    {% if subject_list.has_next %}
                <li class="enabled">
                    <a href="?page={{ subject_list.next_page_number }}" aria-label="last">
                        <span aria-hidden="true">&raquo;</span>
                    </a>
                </li>
            {% endif %}
</ul>

        {% endblock %}

{% endblock %}
